package com.deyun.panelcabinet.entity;

public class FaceEntity {

    /**
     * code : 100
     * face_found : true
     * msg : find matched face in database
     * user : {"user_name":"怀中阳"}
     */

    private int code;
    private boolean face_found;
    private String msg;
    private UserBean user;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public boolean isFace_found() {
        return face_found;
    }

    public void setFace_found(boolean face_found) {
        this.face_found = face_found;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public UserBean getUser() {
        return user;
    }

    public void setUser(UserBean user) {
        this.user = user;
    }

    public static class UserBean {
        /**
         * user_name : 怀中阳
         * user_id : 4
         */

        private String user_name;
        private int user_id;

        public int getUser_id() {
            return user_id;
        }

        public void setUser_id(int user_id) {
            this.user_id = user_id;
        }

        public String getUser_name() {
            return user_name;
        }

        public void setUser_name(String user_name) {
            this.user_name = user_name;
        }
    }
}
